package com.mms.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Meeting entity. @author MyEclipse Persistence Tools
 */

public class Meeting implements java.io.Serializable {

    // Fields

    private String topic;
    private MeetingRoom meetingRoom;
    private Staff staff;
    private Integer state;
    private Timestamp startTime;
    private Timestamp endTime;
    private String content;
    private String reason;
    private Set minutesStrings = new HashSet(0);
    private Set minutesDocuments = new HashSet(0);
    private Set invitations = new HashSet(0);
    private Set messages = new HashSet(0);

    // Constructors

    /** default constructor */
    public Meeting() {
    }

    /** minimal constructor */
    public Meeting(String topic, MeetingRoom meetingRoom, Staff staff) {
        this.topic = topic;
        this.meetingRoom = meetingRoom;
        this.staff = staff;
    }

    /** full constructor */
    public Meeting(String topic, MeetingRoom meetingRoom, Staff staff, Integer state, Timestamp startTime, Timestamp endTime, String content, String reason, Set minutesStrings,
            Set minutesDocuments, Set invitations, Set messages) {
        this.topic = topic;
        this.meetingRoom = meetingRoom;
        this.staff = staff;
        this.state = state;
        this.startTime = startTime;
        this.endTime = endTime;
        this.content = content;
        this.reason = reason;
        this.minutesStrings = minutesStrings;
        this.minutesDocuments = minutesDocuments;
        this.invitations = invitations;
        this.messages = messages;
    }

    // Property accessors

    public String getTopic() {
        return this.topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public MeetingRoom getMeetingRoom() {
        return this.meetingRoom;
    }

    public void setMeetingRoom(MeetingRoom meetingRoom) {
        this.meetingRoom = meetingRoom;
    }

    public Staff getStaff() {
        return this.staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Integer getState() {
        return this.state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Timestamp getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReason() {
        return this.reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Set getMinutesStrings() {
        return this.minutesStrings;
    }

    public void setMinutesStrings(Set minutesStrings) {
        this.minutesStrings = minutesStrings;
    }

    public Set getMinutesDocuments() {
        return this.minutesDocuments;
    }

    public void setMinutesDocuments(Set minutesDocuments) {
        this.minutesDocuments = minutesDocuments;
    }

    public Set getInvitations() {
        return this.invitations;
    }

    public void setInvitations(Set invitations) {
        this.invitations = invitations;
    }

    public Set getMessages() {
        return this.messages;
    }

    public void setMessages(Set messages) {
        this.messages = messages;
    }

}